Document Solutions for PDF
DS.Documents.DX.Windows Assembly / GrapeCity.Documents.DX.Direct2D Namespace / Geometry Class / Widen Method / Widen(Single,StrokeStyle,Nullable<Matrix3x2>,Single,IGeometrySink) Method
The amount by which to widen the geometry.
The style of stroke to apply to the geometry, or NULL.
The transform to apply to the geometry after widening it, or NULL.
The maximum bounds on the distance between points in the polygonal approximation of the geometry. Smaller values produce more accurate results but cause slower execution.
The ISimplifiedGeometrySink to which the widened geometry is appended.

In This Topic
    Widen(Single,StrokeStyle,Nullable<Matrix3x2>,Single,IGeometrySink) Method
    In This Topic
    Widens the geometry by the specified stroke and writes the result to an ISimplifiedGeometrySink after it has been transformed by the specified matrix and flattened using the specified tolerance.
    Syntax
    'Declaration
     
    Public Overloads Sub Widen( _
       ByVal strokeWidth As System.Single, _
       ByVal strokeStyle As StrokeStyle, _
       ByVal worldTransform As System.Nullable(Of Matrix3x2), _
       ByVal flatteningTolerance As System.Single, _
       ByVal geometrySink As IGeometrySink _
    ) 
    public void Widen( 
       System.float strokeWidth,
       StrokeStyle strokeStyle,
       System.Nullable<Matrix3x2> worldTransform,
       System.float flatteningTolerance,
       IGeometrySink geometrySink
    )

    Parameters

    strokeWidth
    The amount by which to widen the geometry.
    strokeStyle
    The style of stroke to apply to the geometry, or NULL.
    worldTransform
    The transform to apply to the geometry after widening it, or NULL.
    flatteningTolerance
    The maximum bounds on the distance between points in the polygonal approximation of the geometry. Smaller values produce more accurate results but cause slower execution.
    geometrySink
    The ISimplifiedGeometrySink to which the widened geometry is appended.

    Return Value

    If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
    See Also